package com.dayuanit.spring.demo.domain;

import org.springframework.stereotype.Component;

//@Component
public class Fish {
    private String color;
    private int price;

    public Fish() {
        System.out.println("Fish()");
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
